﻿using OA.IService;
using OA.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace OAOA.Controllers
{
    public class PersonController : Controller
    {
        public ISysPersonService service { get; set; }
        // GET: Person
        public ActionResult Index()
        {
            var res= service.GetList(r=>true);
            return View(res);
        }
    }
}